package Extends02;

/**
 * 狮子
 */

public class Lions extends CatsAnimals {
    public Lions(){}
    public Lions(String name,String color,int age) {
        super(name, color, age);
    }
    /**
     *抓羚羊
     */

    public void catchingantelopes(){
        System.out.println("那只叫"+this.getName()+"的"+this.getColor()+"狮子正在抓羚羊");
    }

}
